package com.yyds.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 花君瑜
 * @date 2022/10/14 08:12:33
 * @desc 居民信息表
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings({"all"})//抑制警告
public class PersonResident {
    //居民编号
    private Integer resident_id;
    //姓名
    private String resident_name;
    //身份证号
    private String resident_idcard;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    //生日
    private Date resident_birthday;
    //性别
    private String resident_gender;
    //年龄
    private Integer resident_age;
    //手机号
    private String resident_phone;
    //地址
    private String resident_address;
    //照片
    private String resident_picture;
}
